package user;

import book.BookList;
import operator.IOperator;

public abstract class User {
    protected String name;
    protected IOperator[] iOperators;
    public User(String name){
        this.name = name;
    }
    public abstract int menu();
    public void doOparetor(int choice, BookList bookList){
        iOperators[choice].work(bookList);
    }
}
